﻿using RightControl.IService;
using RightControl.Model;
using System.Collections.Generic;

namespace RightControl.IService {
    public interface ISubProductImageService : IBaseService<SubProductImage> {
        int SaveSubProductImages(IEnumerable<SubProductImage> entitys);

        List<SubProductImage> GetSubProductImageList(SubProductImage filter, PageInfo pageInfo);

        int UpdateSubProducts(IEnumerable<SubProductImage> entitys, string updatefields = null);

        bool DeleteByProdcutId(int productId, int userId);
    }
}
